html {
	height:100%; /* fix height to 100% for IE */
	max-height:100%; /* fix height for other browsers */
	padding:0; /*remove padding */
	margin:0; /* remove margins */
	border:0; /* remove borders */
	background:#fff; /*color background - only works in IE */
	font-size:80%; /*set default font size */
	font-family:"trebuchet ms", tahoma, verdana, arial, sans-serif; /* set default font */
	/* hide overflow:hidden from IE5/Mac */
	/* \*/
	overflow:hidden; /*get rid of scroll bars in IE */
	/* */
}

body {
	height:100%; /* fix height to 100% for IE */
	max-height:100%; /* fix height for other browsers */
	overflow:hidden; /*get rid of scroll bars in IE */
	padding:0; /*remove padding */
	margin:0; /* remove margins */
	border:0; /* remove borders */
}

#head {
    position:absolute;
    margin:0;
    top:0;
    display:block;
    width:100%;
    height:100px;
    background:#fff; 
    font-size:1.5em;
    z-index:5; 
    color:#333333; 
    border-bottom:1px solid #666666;
}

#head a ,
#head a:link,
#head a:active,
#head a:visited  {
    text-decoration: none;
    color:#333333;
}

#head a:hover {
    text-decoration: none;
    color:#888888;	
}

#content {
    padding: 4px;
    display:block; /* set up as a block */
	height:100%; /* set height to full page */
	max-height:100%;
	overflow:auto; /* add scroll bars as required */
	position:relative; /* set up relative positioning so that z-index will work */
	z-index:3; /* allocate a suitable z-index */
}

#foot {
    position:absolute;
    margin:0;
    bottom:-1px;
    display:block; 
    width:100%;
    height:25px;
    line-height:25px;
    background:#fff;
    color:#000;
    text-align:center;
    font-size:1em;
    font-style:italic;
    z-index:4;
    border-top:1px solid #666666;
}

.pad1 {
	display:block;
	width:18px;
	height:50px;
	float:left;
}

.pad2 {
	display:block;
	height:100px;
}

table {
    border-collapse: collapse;
}

td, th {
    padding: 0.5em;
    border: 1px solid #CCC;
}

td img {
    vertical-align: middle;	
}

thead, tfoot {
    background-color: #DDD;
}

tr.rowodd {
    background-color: #FFF;
}

tr.roweven {
    background-color: #F2F2F2;
}

.sortcol {
    cursor: pointer;
    padding-right: 20px;
    background-repeat: no-repeat;
    background-position: right center;
}

.sortasc {
    background-color: #DDFFAC;
    background-image: url(up.gif);
}

.sortdesc {
    background-color: #B9DDFF;
    background-image: url(down.gif);
}

.nosort {
    cursor: default;
}

th.resize-handle-active {
    cursor: e-resize;
}

div.resize-handle {
    cursor: e-resize;
    width: 2px;
    border-right: 1px dashed #1E90FF;
    position:absolute;
    top:0;
    left:0;
}